import React, { Component } from 'react'
// import  {withRouter} from "react-router-dom"
import SetRouter from '../HOC/SetRouter';

 class Form2 extends Component {
  render() {
    return (
      <div>
        <div>注册的用户名   <input/></div>
        <button onClick={()=>{
             //console.log(this.props);
            this.props.history.push("/mine/login")
        }}>注册成功去登录</button>
      </div>
    )
  }
}
export default  SetRouter(Form2);
